<?php
/**
 * @author Wayne
* @copyright Jiuchi Information Technology Co.,Ltd
*/
?>
<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<script type="text/javascript">
	try{ace.settings.check('navbar' , 'fixed')}catch(e){}
</script>

<div class="navbar-container" id="navbar-container">
	<div class="navbar-header pull-left">
		<!-- #section:basics/navbar.layout.brand -->
		<a href="#" class="navbar-brand">
			<small>
				<i class="fa fa-key"></i>
				学园后台管理系统
			</small>
		</a>

		<!-- /section:basics/navbar.layout.brand -->

		<!-- #section:basics/navbar.toggle -->
		<button class="pull-right navbar-toggle navbar-toggle-img collapsed" type="button" data-toggle="collapse" data-target=".navbar-buttons,.navbar-menu">
			<span class="sr-only">Toggle user menu</span>

			<img src="/assets/ace/avatars/user.jpg" alt="Jason's Photo" />
		</button>

		<button class="pull-right navbar-toggle collapsed" type="button" data-toggle="collapse" data-target="#sidebar">
			<span class="sr-only">Toggle sidebar</span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>

			<span class="icon-bar"></span>
		</button>

		<!-- /section:basics/navbar.toggle -->
	</div>

	<!-- #section:basics/navbar.dropdown -->
	<div class="navbar-buttons navbar-header pull-right  collapse navbar-collapse" role="navigation">
		<ul class="nav ace-nav">
			<!-- #section:basics/navbar.user_menu -->
			<li class="light-blue user-min">
				<a data-toggle="dropdown" href="#" class="dropdown-toggle">
					<img class="nav-user-photo" src="/assets/ace/avatars/user.jpg" alt="Jason's Photo" />
					<span class="user-info">
						<small>Welcome,</small>
						<?php echo $uname;?>
					</span>

					<i class="ace-icon fa fa-caret-down"></i>
				</a>

				<ul class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
					<li>
						<a href="<?php echo site_url('admin/login/logout');?>">
							<i class="ace-icon fa fa-power-off"></i>
							Logout
						</a>
					</li>
				</ul>
			</li>
			<!-- /section:basics/navbar.user_menu -->
		</ul>
	</div>
</div>
<!-- /.navbar-container -->